Bookly\Lib\Cloud\Account C

Total Complexity 110
Dependencies 7
Dependents 32
Total lines 846
Lines of code 401
Logical lines of code 220
Comment lines 266
Methods 44
Properties 11

Methods 44

Method Rating Maintainability Complexity Lines of code
translateError()
A
47 15 34
setupListeners()
S
44 5 45
forgotPassword()
S
56 5 19
createStripeCheckoutSession()
S
58 5 15
getBillingAgreementUrl()
S
58 3 17
getPurchasesList()
S
57 3 17
getPayPalRenewAutoRechargeUrl()
S
60 3 15
verifyPromoCode()
S
65 4 9
getStripeRenewAutoRechargeUrl()
S
60 3 14
createPayPalOrder()
S
60 3 14
sendLowBalanceNotification()
S
60 3 11
register()
S
65 3 8
disableAutoRecharge()
S
66 3 9
setInvoiceData()
S
65 3 9
getCloudSupportEndAt()
S
73 3 5
getCloudSupportDays()
S
66 3 8
productActive()
S
65 3 10
getSubscriptions()
S
65 3 10
getProductActivationTexts()
S
62 2 13
confirmEmail()
S
69 2 7
resendConfirmation()
S
70 2 7
login()
S
63 2 10
logout()
S
65 2 9
changeCountry()
S
67 2 8
changePassword()
S
66 2 8
getAutoRechargeEndAt()
S
73 2 5
getAutoRechargeGateway()
S
73 2 5
getEndPoints()
S
69 2 7
getAutoRechargeTitle()
S
67 2 7
setup()
S
79 1 3
loadProfile()
S
76 1 4
getInvoiceLink()
S
80 1 3
getUserName()
S
82 1 3
getEmailConfirmed()
S
82 1 3
getBalance()
S
82 1 3
getCountry()
S
82 1 3
autoRechargeEnabled()
S
80 1 3
getAutoRechargeAmount()
S
80 1 3
getAutoRechargeBonus()
S
80 1 3
getInvoiceData()
S
81 1 3
getRechargeData()
S
82 1 3
getNotifySummary()
S
82 1 3
enableSendingWeeklySummary()
S
80 1 3
disableSendingWeeklySummary()
S
80 1 3